package com.cyf.db.bean;

public class FeeGroup {

	/** 计费类型：月卡 **/
	public static final int FEETYPE_MONTH = 1;
	/** 计费类型：储值卡 **/
	public static final int FEETYPE_CARD = 2;
	/** 计费类型：临时 **/
	public static final int FEETYPE_TEMP = 3;
	/** 计费类型：免费 **/
	public static final int FEETYPE_FREE = 4;
	/** 计费类型：优惠券 **/
	public static final int FEETYPE_COUPON = 5;

	/** 优惠类型：1-免费时间 **/
	public static final int COUPON_TYPE_HOURS = 1;
	/** 优惠类型：2-免费金额 **/
	public static final int COUPON_TYPE_AMOUNT = 2;
	/** 优惠类型：3-切换计费规则 **/
	public static final int COUPON_TYPE_CHANGE_FEEGROUP = 3;

	/** 预约类型：1-小时 **/
	public static final int BOOKING_TYPE_HOURS = 1;
	/** 预约类型：1-次 **/
    public static final int BOOKING_TYPE_ONCE = 2;

    private int id;
	private String name;
	private int parkingId;
	private Integer billingType;// 计费类型	1月租、2储值、3临时、4免费
	private Integer qrCodeType; // 二维码类型 1是免费时间 2是免金额 / 预约类型 1-小时 3-切换优惠券 4-折扣 / 车位预约 1免时间
	private Integer	freeHours; //免费小时 单位秒
	private Integer	freeAmount; //免费金额 单位分
	private Integer	valid; //有效时间 单位s
	private Integer status;		// 是否有效 1有效 0无效
	private Integer bindingFeeGroupId;	// 	优惠券计费规则中的父计费规则id
	private Integer maxMoney;	// 车位预约全天最高收费 0，代表没有设置

	private Integer freeLimit;          // 优惠上限：单位分（减免方式不是按固定金额减免时，超过优惠上限部分不予减免）（0-没有上限）
	private int useWay;             // 使用方式：1-线下使用，2-线上使用
	private Integer couponType;         // 优惠券类型：1-停车券
	private Double discount;            // 折扣
	private Integer feeGroupId;	// 	优惠券计费规则中的云端父计费规则id
	private Integer localFeegroupId;
	private int fee;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getParkingId() {
		return parkingId;
	}

	public void setParkingId(int parkingId) {
		this.parkingId = parkingId;
	}

	public Integer getBillingType() {
		return billingType;
	}

	public void setBillingType(Integer billingType) {
		this.billingType = billingType;
	}

	public Integer getQrCodeType() {
		return qrCodeType;
	}

	public void setQrCodeType(Integer qrCodeType) {
		this.qrCodeType = qrCodeType;
	}

	public Integer getFreeHours() {
		return freeHours;
	}

	public void setFreeHours(Integer freeHours) {
		this.freeHours = freeHours;
	}

	public Integer getFreeAmount() {
		return freeAmount;
	}

	public void setFreeAmount(Integer freeAmount) {
		this.freeAmount = freeAmount;
	}

	public Integer getValid() {
		return valid;
	}

	public void setValid(Integer valid) {
		this.valid = valid;
	}

	public Integer getBindingFeeGroupId() {
		return bindingFeeGroupId;
	}

	public void setBindingFeeGroupId(Integer bindingFeeGroupId) {
		this.bindingFeeGroupId = bindingFeeGroupId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getMaxMoney() {
		return maxMoney;
	}

	public void setMaxMoney(Integer maxMoney) {
		this.maxMoney = maxMoney;
	}

	public Integer getFreeLimit() {
		return freeLimit;
	}

	public void setFreeLimit(Integer freeLimit) {
		this.freeLimit = freeLimit;
	}

	public Integer getUseWay() {
		return useWay;
	}

	public void setUseWay(Integer useWay) {
		this.useWay = useWay;
	}

	public Integer getCouponType() {
		return couponType;
	}

	public void setCouponType(Integer couponType) {
		this.couponType = couponType;
	}

	public Double getDiscount() {
		return discount;
	}

	public void setDiscount(Double discount) {
		this.discount = discount;
	}

	public Integer getLocalFeegroupId() {
		return localFeegroupId;
	}

	public void setLocalFeegroupId(Integer localFeegroupId) {
		this.localFeegroupId = localFeegroupId;
	}

	public int getFee() {
		return fee;
	}

	public void setFee(int fee) {
		this.fee = fee;
	}
}
